package org.zfes.snowier.zbss.xzy.mo.dtos.jvm.detail;

import java.io.Serializable;
import java.util.Date;

public class JvmThreadDto  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	//所属部署拓扑
	private String devicesn;
	//实例key
	private String inskey;
	//实例秒数
	private String insremark;
	
	
	private Byte st=1;
	private Date ti;
	private String message;
	
	/**
	 * 当前应用进程ID
	 */
    private Integer pid;

	/**
	 * 总线程数
	 */
	private int total;
	/**
	 * 运行中的线程
	 */
    private int runnable;
	/**
	 * 这个状态就是有限的(时间限制)的WAITING, 一般出现在调用wait(long), join(long)等情况下, 另外一个线程sleep后
	 * 休眠的线程数
	 */
	private int timedWaiting;
	/**
	 * 这个状态下是指线程拥有了某个锁之后, 调用了他的wait方法, 等待的线程数
	 */
    private int waiting;
    
    
	
	public Integer getPid() {
		return pid;
	}
	public JvmThreadDto setPid(Integer pid) {
		this.pid = pid;
		return this;
	}
	
	public int getTotal() {
		return total;
	}
	public JvmThreadDto setTotal(int total) {
		this.total = total;
		return this;
	}
	public int getRunnable() {
		return runnable;
	}
	public JvmThreadDto setRunnable(int runnable) {
		this.runnable = runnable;
		return this;
	}
	public int getTimedWaiting() {
		return timedWaiting;
	}
	public JvmThreadDto setTimedWaiting(int timedWaiting) {
		this.timedWaiting = timedWaiting;
		return this;
	}
	public int getWaiting() {
		return waiting;
	}
	public JvmThreadDto setWaiting(int waiting) {
		this.waiting = waiting;
		return this;
	}
	public String getDevicesn() {
		return devicesn;
	}
	public JvmThreadDto setDevicesn(String devicesn) {
		this.devicesn = devicesn;
		return this;
	}
	public Byte getSt() {
		return st;
	}
	public JvmThreadDto setSt(Byte st) {
		this.st = st;
		return this;
	}
	public Date getTi() {
		return ti;
	}
	public JvmThreadDto setTi(Date ti) {
		this.ti = ti;
		return this;
	}
	public String getMessage() {
		return message;
	}
	public JvmThreadDto setMessage(String message) {
		this.message = message;
		return this;
	}
	
	public String getInskey() {
		return inskey;
	}
	public JvmThreadDto setInskey(String inskey) {
		this.inskey = inskey;
		return this;
	}
	public String getInsremark() {
		return insremark;
	}
	public JvmThreadDto setInsremark(String insremark) {
		this.insremark = insremark;
		return this;
	}
	@Override
	public String toString() {
		return "JvmThreadDto [devicesn=" + devicesn + ", inskey=" + inskey + ", insremark=" + insremark + ", st=" + st
				+ ", ti=" + ti + ", message=" + message + ", pid=" + pid + ", total=" + total + ", runnable=" + runnable
				+ ", timedWaiting=" + timedWaiting + ", waiting=" + waiting + "]";
	}
	



    
    
}
